Chat Log Page
fun ChatLogPage(modifier: Modifier = Modifier, logId: String, onNavigateBack: () -> Unit, viewModel: ChatbotViewModel = hiltViewModel(), openDrawer: () -> Unit)
Composable, displays a ChatLog page that shows previously saved/completed cognitive behavioral therapy activities. This page includes the top app bar and content of the log.
Parameters
modifier
Modifier to be applied to the root composable
log Id
ID of the log to be displayed
on Navigate Back
Lambda to handle the navigation back
view Model
ViewModel to fetch the log data
open Drawer
Lambda to open the navigation drawer